#ifndef MINEGAME_H_
#define MINEGAME_H_
#include"mineLand.h"
#include"GameEnd.h"
#include"GameOption.h"
#include"GameInstruction.h"
#include<QMainWindow>
#include<QAction>
#include <QMenu>
#include <QMenuBar>

class mineGame:public QMainWindow
{
    Q_OBJECT
private:
    QAction* begin_action;
    QAction* option_action;
    QAction* close_action;
    QAction* info_action;
    QAction* calcuate_action;

    QMenu* game_menu;
    QMenu* help_menu;
    QMenuBar* menus;
    mineLand* mine_land;
    GameOption* options;
    GameEnd* game_end;
    GameInstruction* helps;
public:
    mineGame(QWidget* parent = 0);
private slots:
    void new_level();
    void show_help();
    void show_calcuate();
};  
#endif
